header {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    height: 38px;
    margin: 12px auto;
    padding: 0 20px;
}

/* 隐藏滚动条 */
:root {
    overflow-y: scroll;
    overflow-x: hidden;
}

.leftPart {
    display: flex;
}

.leftPart img:first-child {
    width: 38px;
    height: 38px;
}

.leftPart img:last-child {
    width: 42px;
    height: 42px;
}

.rightPart {
    display: flex;
    justify-content: flex-end;
}

.rightPart .saveMes {
    margin: 10px 18px 0 0;
    color: rgb(201, 205, 212);
    font-size: 14px;
    
}

.rightPart button:first-of-type {
    width: 70px;
    height: 34px;
    background-color: white;
    border: 1px solid rgb(29, 125, 250);
    color: rgb(29, 125, 250);
    font-size: 14px;
    cursor: pointer;
}

.publish {
    position: relative;
}

#publish {
    width: 60px;
    height: 34px;
    margin-left: 16px;
    background-color: rgb(29, 125, 250);
    border: 1px solid rgb(29, 125, 250);
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.publishContainer {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 558px;
    border: 1px solid rgb(221, 221, 221);
    background-color: white;
    z-index: 2;
}

.publishContainer .title {
    height: 24px;
    padding: 24px 20px 16px;
    border-bottom: 1px solid #e5e6eb;
    font-size: 18px;
    line-height: 24px;
    color: #1d2129;
}

.line1 {
    display: flex;
    height: 84px;
    margin: 20px;
}

.line1 p {
    width: 85px;
    height: 84px;
    text-align: right;
    color: #1d2129;
    font-size: 14px;
    line-height: 28px;
    cursor: default;
}

.line1 p:before {
    content: "*";
    color: #f53f3f;
    vertical-align: -2px;
}

.list1 li,
.list2 li {
    box-sizing: border-box;
    /* 行内块元素自动换行 */
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 10px;
    padding: 0 .7rem;
    font-size: 14px;
    line-height: 28px;
    width: 88px;
    height: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    border-radius: 2px;
    cursor: pointer;
    color: #86909c;
    background-color: #f4f5f5;
}

.list1 li:hover,
.list2 li:hover {
    background-color: rgb(229, 230, 235) !important;
}

/* 哪一个点击了就加上这个样式 */
.click {
    color: #1d7dfa;
    background-color: #e8f3ff;
}

.line2 {
    display: flex;
    margin-left: 34px;
    margin-bottom: 60px;
}

.line2>p {
    font-size: 14px;
    line-height: 28px;
}

.line2 .box {
    overflow: hidden;
    position: relative;
    width: 160px;
    height: 84px;
    border: 1px dashed rgb(229, 230, 235);
    background-color: rgb(250, 250, 250);
    text-align: center;
}

#coverUrl {
    width: 160px;
    height: 86px;
    position: absolute;
    left: 105px;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
}

#show{
    width: inherit;
}

.line2 .box::after {
    content: '建议尺寸：1303*734px';
    position: absolute;
    top: 100px;
    left: -2px;
    width: 160px;
    height: 20px;
    font-size: 14px;
    color: rgb(134, 144, 156);
}

.line2 .box p:first-child {
    margin-top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: rgb(134, 144, 156);
}

.line2 .box p:last-child {
    margin-top: 10px;
    font-size: 14px;
    color: rgb(134, 144, 156);
}

.line3 {
    display: flex;
    margin-left: 26px;
    margin-bottom: 20px;
}

.line3>p {
    font-size: 14px;
    line-height: 28px;
}

.line3 textarea {
    width: 410px;
    height: 105px;
    padding: 6px 10px;
    border: 1px solid rgb(230, 232, 235);
    border-radius: 2px;
    background-color: rgb(250, 250, 250);
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    resize: none;
    transition: .3s;
}

.line3 p:before {
    content: "*";
    color: #f53f3f;
    vertical-align: -2px;
}

.line3 textarea:hover {
    background-color: rgb(224, 225, 227);
    border: 1px solid rgb(51, 112, 255) !important;
}

.line4 {
    display: flex;
    justify-content: right;
    height: 70px;
    padding: 0 20px;
    border-top: 1px solid rgb(229, 230, 235);
}

.cancel {
    width: 150px;
    height: 22px;
    padding: 4px 0;
    margin: 16px 16px 0 0;
    border: 1px solid rgb(30, 128, 255);
    border-radius: 4px;
    color: rgb(30, 128, 255);
    line-height: 22px;
    font-size: 14px;
    cursor: pointer;
}

.sure {
    width: 87px;
    height: 34px;
    padding: 4px 0;
    margin-top: 16px;
    border: 1px solid rgb(30, 128, 255);
    background-color: rgb(30, 128, 255);
    border-radius: 4px;
    color: white;
    line-height: 22px;
    font-size: 14px;
    cursor: pointer;
}






.rightPart .exchange {
    width: 20px;
    height: 20px;
    margin: 10px 30px;
}

.avatarBtn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-image: url(../img/bluePerson.svg);
    background-size: cover;
}

.rightPart .avatar {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.toolsContainer {
    width: 100%;
    border-bottom: 1px solid rgb(247, 247, 247);
}

.tools {
    display: flex;
    width: 700px;
    height: 40px;
    margin: 0 auto;
}

.tools img {
    width: 24px;
    height: 24px;
    padding: 8px 10px;
    cursor: pointer;
}

.tools img:hover {
    background-color: rgb(246, 247, 248);
}

.NotesTitle {
    position: relative;
    width: 100%;
}

.NotesTitle input {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    width: 668px;
    height: 38px;
    margin: 0 auto;
    border: none;
    font-size: 32px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
    font-weight: bold;
    color: #000;
    outline: none;
    resize: none;
}

.NotesTitle input::-webkit-input-placeholder {
    font-weight: bolder;
    color: rgb(134, 144, 156);
}

.text {
    position: relative;
    width: 100%;
}

.text textarea {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    width: 668px;
    height: calc(100vh - 100px);
    margin: 0 auto;
    border: none;
    font-size: 16px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
    line-height: 1.6;
    word-break: break-word;
    color: #333;
    outline: none;
    resize: none;
}

.text textarea::-webkit-input-placeholder {
    font-size: 16px;
    color: rgb(179, 179, 177);
}

/* 隐藏功能列表 */
.hiddenFun {
    display: none;
    position: absolute;
    border: 2px solid rgb(220, 221, 223);
    border-top: none;
    top: 50px;
    left: -130px;
    width: 166px;
    z-index: 99;
}

.funList {
    padding: 12px 0;
    background-color: white;
    border-bottom: 1px solid rgb(245, 245, 245);
}

.funList li {
    position: relative;
    display: flex;
    height: 20px;
    padding: 6px 16px;
    line-height: 20px;
    color: #4e5969;
    font-size: 14px;
    cursor: pointer;
}

.funList li:hover {
    background-color: rgb(248, 248, 248);
}